-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preliminary draft of a (non-functional) unit test for svm #33
base: feat/fuel-vm
Are you sure you want to change the base?
Conversation
How the state change is arranged and how do I properly implement it when the Solana virtual machine executes the Solana program. What functions should I call for this and at what time - after the program execution or directly during its execution?
What is the correct way to verify in a test that the state of the blockchain is changed and changed correctly?
What should I change in _exec_fuel_tx() to work properly with consensus? How it is organized in general and how _exec_fuel_tx() is organized?
Should I extend the context in which the Solana program will be executed or should I create a separate context for this?
How are context and genesis related?
Where should I place the code of the minimal Solana program I am testing?
How do I add precompiles for Solana and do I need a separate module for that?
|
Signed-off-by: Dmitry Savonin <[email protected]>
This is a temporary pull-request to test the direction I want to go for the SVM implementation. Please do not accept it.
What I want to ask you is:
How the state change is arranged and how do I properly implement it when the Solana virtual machine executes the Solana program. What functions should I call for this and at what time - after the program execution or directly during its execution?
What is the correct way to verify in a test that the state of the blockchain is changed and changed correctly?
What should I change in _exec_fuel_tx() to work properly with consensus? How it is organized in general and how _exec_fuel_tx() is organized?
Should I extend the context in which the Solana program will be executed or should I create a separate context for this?
How are context and genesis related?
Where should I place the code of the minimal Solana program I am testing?
How do I add precompiles for Solana and do I need a separate module for that?